package org.lifei.gift;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@MapperScan("org.lifei.gift.mapper")
@EnableDiscoveryClient
@EnableFeignClients("org.lifei.gift.clients")   // 开启client接口的扫描
public class SysStarter {
    public static void main(String[] args) {
        SpringApplication.run(SysStarter.class,args);
    }
}
